import { createRouter, createWebHistory } from 'vue-router'
import VideoLoopMaker from '../VideoLoopMaker.vue'
import TransparentFrameExtractor from '../TransparentFrameExtractor.vue'

const routes = [
  {
    path: '/',
    redirect: '/video-loop'
  },
  {
    path: '/video-loop',
    name: 'VideoLoopMaker',
    component: VideoLoopMaker
  },
  {
    path: '/transparent-frames',
    name: 'TransparentFrameExtractor',
    component: TransparentFrameExtractor
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router